﻿





namespace MF.HSD.StdUnitCostBP
{
	using System;
	using System.Collections.Generic;
	using System.Text;
	using System.Reflection;
	using UFSoft.UBF.AopFrame; 	

	/// <summary>
	/// 创建定额成本 business operation
	/// 
	/// </summary>
	[Serializable]	
	public partial class CreateStdUnitCost
	{
	    #region Fields
		private List<System.String> item;
		private System.String orgCode;
		private System.String disPlayName;
		private System.String costField;
		
	    #endregion
		
	    #region constructor
		public CreateStdUnitCost()
		{}
		
	    #endregion

	    #region member		
		/// <summary>
		/// 料品	
		/// 创建定额成本.Misc.料品
		/// </summary>
		/// <value></value>
		public List<System.String> Item
		{
			get
			{
				return this.item;
			}
			set
			{
				item = value;
			}
		}
		/// <summary>
		/// 组织编码	
		/// 创建定额成本.Misc.组织编码
		/// </summary>
		/// <value></value>
		public System.String OrgCode
		{
			get
			{
				return this.orgCode;
			}
			set
			{
				orgCode = value;
			}
		}
		/// <summary>
		/// DisPlayName	
		/// 创建定额成本.Misc.DisPlayName
		/// </summary>
		/// <value></value>
		public System.String DisPlayName
		{
			get
			{
				return this.disPlayName;
			}
			set
			{
				disPlayName = value;
			}
		}
		/// <summary>
		/// CostField	
		/// 创建定额成本.Misc.CostField
		/// </summary>
		/// <value></value>
		public System.String CostField
		{
			get
			{
				return this.costField;
			}
			set
			{
				costField = value;
			}
		}
	    #endregion
		
	    #region do method 
		[Transaction(UFSoft.UBF.Transactions.TransactionOption.Supported)]
		[Logger]
		[Authorize]
		public System.String Do()
		{	
		    BaseStrategy selector = Select();	
				System.String result =  (System.String)selector.Execute(this);	
		    
			return result ; 
		}			
	    #endregion 					
	} 		
}
